﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Warranty.Model.Model;

namespace Warranty.Model.Interface
{
    public interface IWarrantyMessageProvider
    {
        bool Add(WarrantyMessage wSms);

        List<WarrantyMessage> Search(string serial = null, string model = null, bool? transferFlag = null);

        WarrantyMessage Retrieve(string serial, string responseType);

        bool Update(WarrantyMessage obj);
    }
}
